Skip to content

Primitives gets wrong status#164

Open
hheg wants to merge 1 commit intoSQiShER:masterfrom
hheg:primitivediff
Open

Primitives gets wrong status#164
hheg wants to merge 1 commit intoSQiShER:masterfrom
hheg:primitivediff

Conversation

@hheg
Copy link

@hheg hheg commented Jun 13, 2016

Thank you for this library.
Diffing a list with a object implementing equals and have a primitive value makes the REMOVED primitive get a status of ADDED.

Output from a PrintingVisitor is

Property at path '/wrapper[fcmp.diff.DifferTest$TestClass@1f]/primitive' has been added => [ null ]

Which should have been:

Property at path '/wrapper[fcmp.diff.DifferTest$TestClass@1f]/primitive' has been removed => [ 0 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant